package com.hutao.medical.query;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class BorrowQuery extends PageQuery{

	private String name;
	
	private String idCard;
	
	private String mrId;
	
	private Integer status;
	
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date outHospitalStartDate;
	
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date outHospitalEndDate;
	
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date applyBorrowStartTime;
	
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date applyBorrowEndTime;
	
	/**
	 * 出院科室
	 */
	private String outOfficeName;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public String getMrId() {
		return mrId;
	}

	public void setMrId(String mrId) {
		this.mrId = mrId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getOutHospitalStartDate() {
		return outHospitalStartDate;
	}

	public void setOutHospitalStartDate(Date outHospitalStartDate) {
		this.outHospitalStartDate = outHospitalStartDate;
	}

	public Date getOutHospitalEndDate() {
		return outHospitalEndDate;
	}

	public void setOutHospitalEndDate(Date outHospitalEndDate) {
		this.outHospitalEndDate = outHospitalEndDate;
	}

	public Date getApplyBorrowStartTime() {
		return applyBorrowStartTime;
	}

	public void setApplyBorrowStartTime(Date applyBorrowStartTime) {
		this.applyBorrowStartTime = applyBorrowStartTime;
	}

	public Date getApplyBorrowEndTime() {
		return applyBorrowEndTime;
	}

	public void setApplyBorrowEndTime(Date applyBorrowEndTime) {
		this.applyBorrowEndTime = applyBorrowEndTime;
	}

	public String getOutOfficeName() {
		return outOfficeName;
	}

	public void setOutOfficeName(String outOfficeName) {
		this.outOfficeName = outOfficeName;
	}
	
}
